package com.peaksport.framework.base.entity;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

import lombok.Getter;
import lombok.Setter;

@SuppressWarnings("serial")
@MappedSuperclass
@Getter
@Setter
public abstract class GroupDataBaseEntity extends DataBaseEntity {

	@Column(name = "FSeqNo",nullable = false)
	private int seqNo;
	@Column(name = "FLongNumber", nullable = false)
	private String longNumber;
	@Column(name = "FLongName", nullable = false)
	private String longName;
	@Column(name="FIsLeaf")
	private boolean isLeaf;
	
	
	public abstract GroupDataBaseEntity getParent();

	public abstract void setParent(GroupDataBaseEntity parent);
}
